Page({
    data: {
        currentTab: 0
    },
    clickSegment0: function(n) {
        this.setData({
            currentTab: 0
        });
    },
    clickSegment1: function(n) {
        this.setData({
            currentTab: 1
        });
    },
    clickSetting: function(n) {
        wx.navigateTo({
            url: "/pages/sendOrder/orderSetting/orderSetting"
        });
    },
    onLoad: function(n) {
        void 0 != n.currentTab && this.setData({
            currentTab: n.currentTab
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        app.util.getShareInfo();
        return {
            title: app.globalData.sha,
            path: "/pages/schedule/schedule",
            success: function(n) {},
            fail: function(n) {}
        };
    }
});